//
//  RootViewController_iPad.h
//  PokerPlus
//
//  Created by sunrui-MacBook on 11-7-27.
//  Copyright 2011 139.ME. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OpenFlowViewController.h"
#import "MiddleMenuBar.h"
#import "Menu_iPad.h"
#import "TeachViewController.h"
#import "Tournament.h"
#import "GetAward.h"

@class Menu_iPad;

@class ZaiXianHaoYou;
@class ZhuoZiList;
@class PaiZhuoXuanXiang;
@class MiddleMenuBar;
@class OpenFlowViewController; 
@class Tournament;
@class LoginViewController;
@class GetAward;
@class Reference;
@class TeachViewController;

@class LoadingViewController_iPad;
@class RoomViewController_iPad;
@interface RootViewController_iPad : UIViewController<UIScrollViewDelegate,MiddleMeneBarDelegate,TournamentDelegate,MenuIpadDelegate,TeachDelegate> {

	Menu_iPad *menu;
    UIView *bottomView;
    ZaiXianHaoYou *haoyou;
    ZhuoZiList *zhuoList;
    PaiZhuoXuanXiang *paizhuo;
    MiddleMenuBar *middlebar;
    Tournament *tour;
    TeachViewController *teach;
    GetAward *getA;
    Reference *ref;
    LoginViewController *loginViewController;
	NSMutableArray *covers;
	IBOutlet OpenFlowViewController *openflow;
	UIControl *control;
    

	LoadingViewController_iPad * loading;
	RoomViewController_iPad * roomcontroller;
	
}

-(void)bottomDisAppear;
-(CGAffineTransform)transformForOrientation;
- (void)ConnectServer;
- (void)EnterBackGround;

- (void)EnterRoom:(UpdateDesk)ud;
- (void)SetUsrInfo:(UsrInfo) ui;
- (void)SetRoomSort:(RoomSort)rs;
- (void)SetRoomList:(RoomList)rl;
- (void)RoomRefresh:(UpdateDesk)ud;


@end
